﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Web;

namespace FFSupplier.Common.TKCommon
{
    public class CrmConfiguration:ICrmConfiguration
    {
        public string AdministratorId { get; set; }
        public string Domain { get; set; }
        public string Password { get; set; }
        public string UserName { get; set; }

        public string OrgUrl { get; set; }
        public string webUrl { get; set; }

        public string FileLoginName { get; set; }
        public string FileUrl { get; set; }
        public string FileOauth { get; set; }

        public string FilePassword { get; set; }
        public string FileCLientId { get; set; }
        public string FileClientSecret { get; set; }


        public string LongXinUrl { get; set; }
        public string LongXinApiKey { get; set; }
        public string LongXinAppKey { get; set; }
        public string LongXinBDID { get; set; }

        public string SMSApiKey { get; set; }
        public string SMSUrl { get; set; }
        public string SMSAppKey { get; set; }

        public string MDMUrl { get; set; }

        public string MDMUser { get; set; }
        public string MDMPass { get; set; }

        public string BDAccountInfoUrl { get; set; }

        public string BDRoomUrl { get; set; }

        public string BDAccountAndRoomUrl { get; set; }

        public string QDCCService_QueryMemberId { get; set; }

        public string QDCCService_QueryUserLedger { get; set; }

        public string QDUserPassUrl { get; set; }

        public string QDCCService_QueryOrderList { get; set; }

        public string QDCCService_GetOrderInfoList { get; set; }

        public string QDOrganId { get; set; }

        public string QDCCService_GetOrderStatus { get; set; }
        public string QDCCService_GetOrderDetail { get; set; }

        public string QDPMWCFUrl { get; set; }

        public string QDPMWCFGetCostSummaryByRoomSign { get; set; }

        public string QDPMWCFGetFeesDetailInfoByRoomSign { get; set; }

        public string BDAPITokenUrl { get; set; }
        public string BDAPIClient_Id { get; set; }
        public string BDAPIClient_Secret { get; set; }

        public string BDCustTradeByRoomUrl { get; set; }

        public string QDIncidentURL { get; set; }
        public string MQHostName { get; set; }
        public string MQUserName { get; set; }
        public string MQPassword { get; set; }
        public string MQPost { get; set; }
        public string MQVirtualHost { get; set; }
        public string MDMMQ_HostName { get; set; }
        public string MDMMQ_Password { get; set; }
        public string MDMMQ_UserName { get; set; }
        public string MDMMQ_Port { get; set; }
        public string MDMMQ_VirtualHost { get; set; }
        public string MDMMQ_EXCHANGE_NAME { get; set; }
        public string MDMMQ_ProjectQueueName { get; set; }
        public string MDMMQ_BuildingQueueName { get; set; }
        public string MDMMQ_RoomQueueName { get; set; }
        public string MDMMQ_AccountQueueName { get; set; }


        public string MQExchange { get; set; }
        public string MQueueName { get; set; }


        public string wydockerURL { get; set; }

        string ICrmConfiguration.GetWydockerURL()
        {
            return wydockerURL;
        }



        public string getByTokenUrl { get; set; }
        public string X_Gaia_Api_Key { get; set; }
        string ICrmConfiguration.GetSMSApiKey()
        {
            return SMSApiKey;
        }

        string ICrmConfiguration.GetSMSAppKey()
        {
            return SMSAppKey;
        }

        string ICrmConfiguration.GetSMSUrl()
        {
            return SMSUrl;
        }

        string ICrmConfiguration.GetMDMUrl()
        {
            return MDMUrl;
        }

        string ICrmConfiguration.GetMDMUser()
        {
            return MDMUser;
        }

        string ICrmConfiguration.GetMDMPass()
        {
            return MDMPass;
        }

        string ICrmConfiguration.GetLongXinUrl()
        {
            return LongXinUrl;
        }

        string ICrmConfiguration.getLongXinApiKey()
        {
            return LongXinApiKey;
        }

        string ICrmConfiguration.GetLongXinAppKey()
        {
            return LongXinAppKey;
        }

        string ICrmConfiguration.getLongXinBDID()
        {
            return LongXinBDID;
        }

        string ICrmConfiguration.getQDCCService_QueryMemberId()
        {
            return QDCCService_QueryMemberId;
        }

        string ICrmConfiguration.getQDCCService_QueryUserLedger()
        {
            return QDCCService_QueryUserLedger;
        }

        string ICrmConfiguration.getQDCCService_QueryOrderList()
        {
            return QDCCService_QueryOrderList;
        }

        string ICrmConfiguration.getQDCCService_GetOrderInfoList()
        {
            return QDCCService_GetOrderInfoList;
        }

        string ICrmConfiguration.getQDOrganId()
        {
            return QDOrganId;
        }

        string ICrmConfiguration.GetQDPMWCFUrl()
        {
            return QDPMWCFUrl;
        }

        string ICrmConfiguration.GetQDPMWCFGetCostSummaryByRoomSign()
        {
            return QDPMWCFGetCostSummaryByRoomSign;
        }

        string ICrmConfiguration.GetQDPMWCFGetFeesDetailInfoByRoomSign()
        {
            return QDPMWCFGetFeesDetailInfoByRoomSign;
        }
        string ICrmConfiguration.GetQDCCService_GetOrderStatus()
        {
            return QDCCService_GetOrderStatus;
        }
        string ICrmConfiguration.GetQDCCService_GetOrderDetail()
        {
            return QDCCService_GetOrderDetail;
        }
        string ICrmConfiguration.getQDUserPassUrl()
        {
            return QDUserPassUrl;
        }
        string ICrmConfiguration.GetAdministratorId()
        {
            return AdministratorId;
        }

        string ICrmConfiguration.getDomain()
        {
            //return Domain;
            return ConfigurationManager.AppSettings["crmApiDomain"];
        }

        string ICrmConfiguration.GetUserName()
        {
            //return UserName;
            return ConfigurationManager.AppSettings["crmApiUser"];
        }

        string ICrmConfiguration.getPassword()
        {
            //return Password;
            return ConfigurationManager.AppSettings["crmApiPassword"];
        }

        string ICrmConfiguration.orgUrl()
        {
            return OrgUrl;
        }

        string ICrmConfiguration.GetBDAPIClient_Id()
        {
            return BDAPIClient_Id;
        }

        string ICrmConfiguration.GetBDAPITokenUrl()
        {
            return BDAPITokenUrl;
        }

        string ICrmConfiguration.GetBDAPIClient_Secret()
        {
            return BDAPIClient_Secret;
        }

        string ICrmConfiguration.GetBDCustTradeByRoomUrl()
        {
            return BDCustTradeByRoomUrl;
        }
        string ICrmConfiguration.GetBDAccountInfoUrl()
        {
            return BDAccountInfoUrl;
        }
        string ICrmConfiguration.GetBDRoomUrl()
        {
            return BDRoomUrl;
        }
        string ICrmConfiguration.GetBDAccountAndRoomUrl()
        {
            return BDAccountAndRoomUrl;
        }
        string ICrmConfiguration.GetQDIncidentURL()
        {
            return QDIncidentURL;
        }
        public string getWebUrl()
        {
            //return webUrl;
            return ConfigurationManager.AppSettings["crmApiUrlBase"];
        }

        public string getFileLoginName()
        {
            return FileLoginName;
        }

        public string getFilePassword()
        {
            return FilePassword;
        }

        public string getFileCLientId()
        {
            return FileCLientId;
        }

        public string getFileClientSecret()
        {
            return FileClientSecret;
        }

        public string GetMQHostName()
        {
            return MQHostName;
        }

        public string GetMQPassword()
        {
            return MQPassword;
        }

        public string GetMQPost()
        {
            return MQPost;
        }

        public string GetMQVirtualHost()
        {
            return MQVirtualHost;
        }

        public string GetMQUserName()
        {
            return MQUserName;
        }

        string ICrmConfiguration.GetMDMMQ_HostName()
        {
            return MDMMQ_HostName;
        }

        string ICrmConfiguration.GetMDMMQ_Password()
        {
            return MDMMQ_Password;
        }

        string ICrmConfiguration.GetMDMMQ_UserName()
        {
            return MDMMQ_UserName;
        }

        string ICrmConfiguration.GetMDMMQ_Port()
        {
            return MDMMQ_Port;
        }

        string ICrmConfiguration.GetMDMMQ_VirtualHost()
        {
            return MDMMQ_VirtualHost;
        }

        string ICrmConfiguration.GetMDMMQ_EXCHANGE_NAME()
        {
            return MDMMQ_EXCHANGE_NAME;
        }

        string ICrmConfiguration.GetMDMMQ_ProjectQueueName()
        {
            return MDMMQ_ProjectQueueName;
        }

        public string GetMQExchange()
        {
            return MQExchange;
        }
        public String GetMQueueName()
        {
            return MQueueName;
        }
    }
}